'use strict'
const utils = require('./style-loaders/utils')
const isProduction = process.env.NODE_ENV === 'dev'
const sourceMapEnabled = true

module.exports = {
  loaders: utils.cssLoaders({
    sourceMap: sourceMapEnabled,
    extract: isProduction,
    usePostCSS:false
  }),
  cssSourceMap: sourceMapEnabled,
  cacheBusting: true,
  transformToRequire: {
    video: ['src', 'poster'],
    source: 'src',
    img: 'src',
    image: 'xlink:href'
  },
  cssModules:{
  	localIdentName:'[path][name]---[local]---[hash:base64:5]',
  	camelCase:true
  }
}
